Skip to content

Conversation

@bitfaster
Copy link
Owner

@bitfaster bitfaster commented Aug 27, 2022

  1. Don't use a striped buffer for writes
  2. Cap the write buffer size to nextPowerOf2(cache size), or 128. Whichever is smaller.

This is mostly similar throughput, a little better when thread count is lower.
image

@bitfaster bitfaster merged commit 825b828 into main Sep 9, 2022
@bitfaster bitfaster deleted the users/alexpeck/nostripe branch September 9, 2022 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants